package com.pandora.credit.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.sql.Timestamp;

/**
 * @author developer
 */
public class Credit {
  private long id;
  private int type = -1;
  @JsonProperty("is_hot")
  private int isHot = -1;
  @JsonProperty("is_valid")
  private int isValid = -1;
  @JsonProperty("create_time")
  private Timestamp createTime;
  @JsonProperty("update_time")
  private Timestamp updateTime;
  @JsonProperty("bank_id")
  private long bankId;
  private int recommend = -1;
  @JsonProperty("app_count")
  private int appCount = -1;
  private String version;
  private String platform;

  @JsonProperty("loan_type")
  private long loanType = -1;
  private int offset = -1;
  private int limit = -1;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public int getIsHot() {
    return isHot;
  }

  public void setIsHot(int isHot) {
    this.isHot = isHot;
  }

  public int getIsValid() {
    return isValid;
  }

  public void setIsValid(int isValid) {
    this.isValid = isValid;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }

  public long getBankId() {
    return bankId;
  }

  public void setBankId(long bankId) {
    this.bankId = bankId;
  }

  public int getRecommend() {
    return recommend;
  }

  public void setRecommend(int recommend) {
    this.recommend = recommend;
  }

  public int getAppCount() {
    return appCount;
  }

  public void setAppCount(int appCount) {
    this.appCount = appCount;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getPlatform() {
    return platform;
  }

  public void setPlatform(String platform) {
    this.platform = platform;
  }

  public long getLoanType() {
    return loanType;
  }

  public void setLoanType(long loanType) {
    this.loanType = loanType;
  }

  public int getOffset() {
    return offset;
  }

  public void setOffset(int offset) {
    this.offset = offset;
  }

  public int getLimit() {
    return limit;
  }

  public void setLimit(int limit) {
    this.limit = limit;
  }
}
